Problem Note 56266: PROC EXPORT returns an error when a user-defined format name exceeds 30 characters
The EXPORT procedure returns error messages like the following when you use a user-defined format name that exceeds 30 characters in length:
ERROR 22-322: Expecting a format name.
ERROR 76-322: Syntax error, statement will be ignored.
A user-defined format name can be 31 characters for character format names and 32 characters for numeric format names.
To circumvent the problem, limit the user-defined format name to 30 characters for character formats. This includes the name of the format, the dollar sign ($) to denote a character format name, the number to represent the format width, and the decimal point at the end of the format.
Operating System and Release Information
SAS System | Base SAS | Solaris for x64 | 9.3 TS1M0 | 9.4 TS1M5 |
Linux for x64 | 9.3 TS1M0 | 9.4 TS1M5 |
Linux | 9.3 TS1M0 | 9.4 TS1M5 |
HP-UX IPF | 9.3 TS1M0 | 9.4 TS1M5 |
64-bit Enabled Solaris | 9.3 TS1M0 | 9.4 TS1M5 |
64-bit Enabled HP-UX | 9.3 TS1M0 | 9.4 TS1M5 |
64-bit Enabled AIX | 9.3 TS1M0 | 9.4 TS1M5 |
Windows Vista for x64 | 9.3 TS1M0 | |
Windows Vista | 9.3 TS1M0 | |
Windows 7 Ultimate x64 | 9.3 TS1M0 | 9.4 TS1M5 |
Windows 7 Ultimate 32 bit | 9.3 TS1M0 | 9.4 TS1M5 |
Windows 7 Professional x64 | 9.3 TS1M0 | 9.4 TS1M5 |
Windows 7 Professional 32 bit | 9.3 TS1M0 | 9.4 TS1M5 |
Windows 7 Home Premium x64 | 9.3 TS1M0 | 9.4 TS1M5 |
Windows 7 Home Premium 32 bit | 9.3 TS1M0 | 9.4 TS1M5 |
Windows 7 Enterprise x64 | 9.3 TS1M0 | 9.4 TS1M5 |
Windows 7 Enterprise 32 bit | 9.3 TS1M0 | 9.4 TS1M5 |
Microsoft Windows XP Professional | 9.3 TS1M0 | |
Microsoft Windows Server 2008 for x64 | 9.3 TS1M0 | |
Microsoft Windows Server 2008 R2 | 9.3 TS1M0 | |
Microsoft Windows Server 2008 | 9.3 TS1M0 | |
Microsoft Windows Server 2003 for x64 | 9.3 TS1M0 | |
Microsoft Windows Server 2003 Standard Edition | 9.3 TS1M0 | |
Microsoft Windows Server 2003 Enterprise Edition | 9.3 TS1M0 | |
Microsoft Windows Server 2003 Datacenter Edition | 9.3 TS1M0 | |
Microsoft® Windows® for x64 | 9.3 TS1M0 | 9.4 TS1M5 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | high |
Topic: | SAS Reference ==> Procedures ==> EXPORT Common Programming Tasks ==> Reading and Writing External Data ==> with PROC EXPORT
|
Date Modified: | 2015-07-29 15:02:45 |
Date Created: | 2015-07-24 09:14:50 |